package com.ahu.json;

import com.ahu.domain.RepairCur;

import java.util.Date;

/**
 * Created by qx on 2018/1/8.
 * 前台查询报修信息所需的json类型
 */
public class RepairInfoJson {
    private String repairAddress;
    private String repairContext;
    private String repairTime;
    private String repairDate;
    private String repairStatus;
    private Date createTime;

    public RepairInfoJson(RepairCur repairCur) {
        this.repairAddress = repairCur.getRepairAddress();
        this.repairContext = repairCur.getRepairContext();
        this.repairStatus = repairCur.getRepairStatus();
        this.repairTime = repairCur.getRepairTime();
        this.createTime = repairCur.getCreateTime();
    }

    public String getRepairAddress() {
        return repairAddress;
    }

    public void setRepairAddress(String repairAddress) {
        this.repairAddress = repairAddress;
    }

    public String getRepairContext() {
        return repairContext;
    }

    public void setRepairContext(String repairContext) {
        this.repairContext = repairContext;
    }

    public String getRepairTime() {
        return repairTime;
    }

    public void setRepairTime(String repairTime) {
        this.repairTime = repairTime;
    }

    public String getRepairDate() {
        return repairDate;
    }

    public void setRepairDate(String repairDate) {
        this.repairDate = repairDate;
    }

    public String getRepairStatus() {
        return repairStatus;
    }

    public void setRepairStatus(String repairStatus) {
        this.repairStatus = repairStatus;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }
}
